package com.gsAbs.bo;

public class Compte {
	
	private Integer id;
	private String login;
	private String password;
	private Role role;
	
	
	
	public Compte()
	{
		
		
	}
	
	public Compte( String login, String password, Role role) {
			
			
			this.login = login;
			this.password = password;
			this.role = role;
		}

	
	public Compte(Integer id, String login, String password, Role role) {
		
		this.id = id;
		this.login = login;
		this.password = password;
		this.role = role;
	}



	protected Role getRole() {
		return role;
	}

	protected void setRole(Role role) {
		this.role = role;
	}

	public Compte(Integer id, String login, String password) {
		super();
		this.id = id;
		this.login = login;
		this.password = password;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	

}
